def maps(a):
    list = []
#     print(a.length)
    for i in range(len(a)):
        print(i)
        list.append(a[i]*2)
    return list


if __name__ == '__main__':
    a = maps([1,2,3])
    print(a)